*{
    padding: 0;
    margin: 0;
}
body{
    background-color: #f5f5f8;
}
.container{
    width: 1004px;
    height: 1137px;
    margin: 15px auto 20px;
    background-color: #fff;
    display: flex;
    position: relative;
    .categoryList{
        height: 100%;
        padding: 20px 0px 20px 20px;
        box-sizing: border-box;
        width: 178px;
        ul{
            list-style: none;
            li{
                cursor: pointer;
                font-size: 18px;
                position: relative;
                height: 40px;
                line-height: 40px;
                text-align: center;
                width: 100%;
                background-color: #f5f5f8;
                border-bottom: 1px solid #dfdfdf;
                color: #606060;
            }
            .active{
                color: #E13430;
                background-color: #fff;
                &::before{
                    content: '';
                    display: block;
                    position: absolute;
                    left: 0px;
                    height: 40px;
                    width: 0px;
                    border-left: 6px solid #E13430;
                }
            }
        }
    }
    .content-main{
        display: flex;
        flex-wrap: wrap;
        padding: 20px 0 0 40px;
        box-sizing: border-box;
        width: 824px;
        height: fit-content;
        align-content: flex-start;
        .item{
            width: 160px;
            margin-right: 36px;
            margin-bottom: 30px;
            overflow: hidden;
            &:hover img{
                transform: scale(1.2);
            }
            .img{
                display: block;
                position: relative;
                width: 160px;
                height: 160px;
                margin-bottom: 16px;
                overflow: hidden;
                border: 1px solid rgba(0, 0, 0, 0.1);
                box-sizing: border-box;
                img{
                    transition: all .6s;
                    width: 160px;
                    height: 160px;
                }
                .imgOverlay{
                    position: absolute;
                    z-index: 1;
                    bottom: 0;
                    left: 0;
                    width: 100%;
                    height: 32px;
                    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(60, 60, 60, 0.00)), to(#3D3D3D));
                    background-image: linear-gradient(-180deg, rgba(60, 60, 60, 0.00) 0%, #3D3D3D 100%);
                    i::before{
                        display: block;
                        font-size: 12px;
                    }
                }
                .layui-rate{
                    margin-top: 6px;
                    margin-left: 6px;
                    padding-top: 0;
                    padding-bottom: 0;
                    .layui-inline{
                        width: 13px;
                    }
                    .layui-icon{
                        margin-right: 0;
                    }
                    .layui-icon-rate::before{
                        color: #fff;
                    }
                }
            }
            .link{
                height: 21px;
                margin-bottom: 8px;
                display: flex;
                align-items: center;
                .channel-type{
                    height: 21px;
                    font-size: 10px;
                    margin-right: 6px;
                    padding: 3px;
                    border-radius: 4px;
                    color: #FF9800;
                    border: 1px solid #FF9800;
                    box-sizing: border-box;
                }
                .title{
                    max-width: 115px;
                }
                span{
                    display: inline-block;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
            }
            .intro{
                font-size: 12px;
                color: #606060;
                margin-bottom: 8px;
                line-height: 16px;
                height: 32px;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                text-overflow: ellipsis;
                overflow: hidden;
            }
            .playCount{
                display: flex;
                align-items: center;
                color: #999;
                height: 18px;
                i{
                    font-size: 16px;
                }
                span{
                    margin-bottom: 2px;
                    font-size: 12px;
                    display: inline-block;
                    margin-right: 2px;
                    max-width: 60px;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                }
            }
        }
    }
    #page{
        position: absolute;
        right: 20px;
        bottom: 80px;
        font-size: 16px;
        .layui-laypage-em{
            background-color: #E13430;
        }
        span,a{
            height: 33px;
            line-height: 33px;
            font-size: 16px;
            padding: 0px 8px;
            margin: 0 8px;
            border: 1px solid #CCCCCC;
            border-radius: 3px;
        }
    }
}
